package test;

import java.util.ArrayList;

public class Student {
	private int id;
	private String name;
	private String grade;
	private String gender;
	private String birthday;
	private ArrayList<Subject> subjectList;//选修科目
	public Student(){
		
	}
	public Student(int id, String name, String grade, String gender, String birthday, ArrayList<Subject> subjectList) {
		this.id = id;
		this.name = name;
		this.grade = grade;
		this.gender = gender;
		this.birthday = birthday;
		this.subjectList = subjectList;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getGrade() {
		return grade;
	}
	public void setGrade(String grade) {
		this.grade = grade;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public String getBirthday() {
		return birthday;
	}
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}
	public ArrayList<Subject> getSubjectList() {
		return subjectList;
	}
	public void setSubjectList(ArrayList<Subject> subjectList) {
		this.subjectList = subjectList;
	}
	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", grade=" + grade + ", gender=" + gender + ", birthday="
				+ birthday + ", subjectList=" + subjectList + "]";
	}

	
}
